package com.coastline.fruit.mq.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * mq失效消息实体类
 *
 * @author Coastline
 * @date 2025/2/19 17:22
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("coastline_fruit_fail_message")
public class FailMsgEntity {


    private Long id;

    private String msgId; //消息id

    private String exchange; //交换机

    private String routingKey; //路由key

    private String msg; //消息内容

    private String reason; //失败原因

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
